#include <stdio.h>

/**
 * 变量的声明
 */
int main(void) {
	/*
	 * 变量声明
	 */
	int i, j, k, p, m, n;

	float a, b, c, d, e, f, x, y;

	/*
	 * 变量赋值
	 */
	i = 5;
	j = 5;
	k = 11;
	p = 3;
	x = 3.0F;
	y = 4.0F;

	/*
	 * 打印输出
	 */
	printf("...... Initial values .......\n");
	printf("i=%4d, j=%4d\n"
		   "k=%4d, p=%4d\n"
		   "x=%4.2f, y=%4.2f\n\n", i, j, k, p, x, y);

	/*
	 * 第一部分
	 */
	a = x + y;
	b = x - y;
	c = x * y;
	d = x / y;
	e = d + 3.0F;
	f = d + 3;
	i = i + 1;
	j = j + 1;
	printf("...... Section 1 output ......\n");
	printf("a=%5.2f, b=%5.2f\n"
		   "c=%5.2f, d=%5.2f\n"
		   "e=%5.2f, f=%5.2f\n"
		   "i=%5d, j=%5d\n\n", a, b, c, d, e, f, i, j);

	/*
	 * 第二部分
	 */
	m = k % p;
	n = p % k;
	i++;
	++j;
	e--;
	--f;
	printf("...... Section 1 output ......\n");
	printf("m=%4d, n=%4d\n"
		   "i=%4d, j=%4d\n"
		   "e=%4.2f, f=%4.2f\n\n", m, n, i, j, e, f);

}